package com.aaa.train.service;

import com.aaa.common.entity.ResultData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author ：Mr.王
 * @date ：Created in 2020/7/30 15:09
 * @description：
 * @modified By：
 * @version:
 */

@FeignClient(value = "trainService" ,fallback = ITrainServiceImpl.class)
public interface ITrainService {

    @RequestMapping("/tbTrainer/selectAll")
    ResultData selectTrainAll();
}
